home *** CD-ROM | disk | FTP | other *** search
/ PC Gamer (Italian) 36 / PC Gamer IT CD 36 2-2.iso / SINDEMO / sindemo2.exe / data / base / pak0.pak / models / hcofficer1.def < prev    next >
Text File  |  1998-09-22  |  11KB  |  297 lines

  1. SDEF
  2. // -----------------------------------------------------------------------------
  3. //  $Logfile:: /Quake 2 Engine/Sin/Base Sin Data/Models/Hero/hcofficer1.def   $
  4. // $Revision:: 40                                                             $
  5. //   $Author:: Joeske                                                         $
  6. //     $Date:: 9/22/98 12:20p                                                 $
  7. //
  8. // Copyright (C) 1998 by Ritual Entertainment, Inc.
  9. // All rights reserved.
  10. //
  11. // This source may not be distributed and/or modified without
  12. // expressly written permission by Ritual Entertainment, Inc.
  13. //
  14. // This is a model definition file.  It is to be used in conjunction with Sin.
  15. //
  16. // -----------------------------------------------------------------------------
  17. // MODEL DESCRIPTION:
  18. // HC Officer #1 (with helmet), base model.
  19. //
  20. // MODEL AUTHOR:
  21. // Beau
  22. //
  23.  
  24. // -----------------------------------------------------------------------------
  25. // FILE DECLARATIONS
  26. //
  27. // Model Commands
  28. path models/hcofficer
  29. scale 1.18
  30.  
  31. // Base Model
  32. hcofficer_base.sbm
  33.  
  34. // Skins
  35. normal       hcofficer1_base.tga
  36. damage       hcofficer1_damage.tga
  37.  
  38. // Normal Animations
  39. alert           hcofficer_alert.sam
  40. walk1          hcofficer_walk.sam
  41. run1           hcofficer_run.sam
  42. idle1          hcofficer_idle1.sam
  43. twitch1        hcofficer_idle2.sam
  44. readyfire1     hcofficer_readyfire.sam
  45. aim1           hcofficer_aim.sam
  46. fire1          hcofficer_fire.sam
  47.  
  48. // crouch_down                
  49. // crouch_idle                
  50.  
  51. // Pain Location Based Animations
  52. pain1          hcofficer_paintorsoupper.sam
  53. pain2          hcofficer_paintorsolower.sam
  54. pain3          hcofficer_painhead.sam
  55.  
  56. pain_head              hcofficer_painhead.sam
  57. pain_torso_upper       hcofficer_paintorsoupper.sam
  58. pain_torso_lower       hcofficer_paintorsolower.sam
  59. pain_leg_right_upper   hcofficer_painlegright.sam
  60. pain_leg_right_lower   hcofficer_painlegright.sam
  61. pain_leg_left_upper    hcofficer_painlegleft.sam
  62. pain_leg_left_lower    hcofficer_painlegleft.sam
  63. pain_arm_right_upper   hcofficer_painarmright.sam
  64. pain_arm_right_lower   hcofficer_painarmright.sam
  65. pain_arm_left_upper    hcofficer_painarmleft.sam
  66. pain_arm_left_lower    hcofficer_painarmleft.sam
  67.  
  68. // Death Location Based Animations
  69. death1         hcofficer_death1.sam
  70. death2         hcofficer_death2.sam
  71. death3         hcofficer_death3.sam
  72.  
  73. // Crouching Pain Location Based Animations
  74.  
  75. // Crouching Death Location Based Animations
  76.  
  77. // Optional Animations
  78. //runfire1       hcofficer_runfire.sam
  79. sitting1       hcofficer_sitting.sam
  80. sitting2       hcofficer_sitting2.sam
  81.  
  82. // Scripted Animations
  83.  
  84. // Id And Group Definitions
  85. id 5 group head                 flesh 
  86. group head damage               4.0
  87. id 15 group torso_upper         fabric 
  88. group torso_upper damage        1.0
  89. id 18 group torso_lower         fabric 
  90. group torso_lower damage        1.0
  91. id 45 group leg_left_upper      fabric 
  92. group leg_left_upper damage     0.7
  93. id 50 group leg_left_lower      fabric 
  94. group leg_left_lower damage     0.5
  95. id 65 group leg_right_upper     fabric 
  96. group leg_right_upper damage    0.7
  97. id 70 group leg_right_lower     fabric 
  98. group leg_right_lower damage    0.5
  99. id 85 group arm_left_upper      flesh 
  100. group arm_left_upper damage     0.7
  101. id 90 group arm_left_lower      flesh 
  102. group arm_left_lower damage     0.5
  103. id 102 group arm_right_upper    flesh 
  104. group arm_right_upper damage    0.7
  105. id 110 group arm_right_lower    flesh 
  106. group arm_right_lower damage    0.5
  107. id 105 group helmet ricochet    metal 
  108. group helmet damage             0.3
  109. id 200 group arm_right_lower bone gun 10 160 -2
  110.  
  111. // -----------------------------------------------------------------------------
  112. // INITIALIZATION SECTION
  113. //
  114. !init:
  115. //
  116. // SERVER Initialization Commands
  117. //
  118. // Class Setup
  119. server classname actor
  120. server script global/friend.scr
  121. server setsize "-16 -16 0" "16 16 80"
  122. server crouchsize "-16 -16 0" "16 16 48"
  123. server health 80
  124. server item FlakJacket 100
  125. server item RiotHelmet 50
  126.  
  127. // Sound Aliases
  128. server aliascache snd_sight1 "misc/hc/site1.wav" 1
  129. server aliascache snd_sight2 "misc/hc/site2.wav" 1
  130.  
  131. server aliascache snd_panic1 "misc/hc/panic1.wav" 1
  132. server aliascache snd_panic2 "misc/hc/panic2.wav" 1
  133.  
  134. //
  135. // CLIENT Initialization Commands
  136. //
  137. // Sound Aliases
  138. client aliascache snd_idle1 "misc/null.wav" 1
  139.  
  140. client aliascache snd_pain1 "misc/hc/pain1.wav" 1
  141. client aliascache snd_pain2 "misc/hc/pain2.wav" 1
  142. client aliascache snd_pain3 "misc/hc/pain3.wav" 1
  143. client aliascache snd_pain4 "misc/hc/pain4.wav" 1
  144. client aliascache snd_pain5 "misc/hc/pain5.wav" 1
  145. client aliascache snd_pain6 "misc/hc/pain6.wav" 1
  146.  
  147. client aliascache snd_pain_leg1 "misc/hc/painleg1.wav" 1
  148. client aliascache snd_pain_leg2 "misc/hc/pain2.wav" 1
  149. client aliascache snd_pain_leg3 "misc/hc/pain3.wav" 1
  150. client aliascache snd_pain_leg4 "misc/hc/pain4.wav" 1
  151.  
  152. client aliascache snd_pain_head1 "misc/hc/painhed1.wav" 1
  153. client aliascache snd_pain_head2 "misc/hc/pain1.wav" 1
  154.  
  155. client aliascache snd_death1 "misc/hc/death1.wav" 1
  156. client aliascache snd_death2 "misc/hc/death2.wav" 1
  157. client aliascache snd_death3 "misc/hc/death3.wav" 1
  158. client aliascache snd_death4 "misc/hc/death4.wav" 1
  159.  
  160. client aliascache snd_kneefall1 "impact/bodyfall/sml1.wav" 1
  161. client aliascache snd_kneefall2 "impact/bodyfall/sml2.wav" 1
  162. client aliascache snd_partfall1 "impact/bodyfall/med1.wav" 1
  163. client aliascache snd_partfall2 "impact/bodyfall/med2.wav" 1
  164. client aliascache snd_partfall3 "impact/bodyfall/med3.wav" 1
  165. client aliascache snd_bodyfall1 "impact/bodyfall/lrg1.wav" 1
  166. client aliascache snd_bodyfall2 "impact/bodyfall/lrg2.wav" 1
  167.  
  168. // -----------------------------------------------------------------------------
  169. // MAIN SECTION
  170. //
  171. !main:
  172.  
  173. // Special Commands
  174. // server crouch_down last nextanim crouch_idle
  175.  
  176. // Normal Animations
  177. server fire1  2 fire
  178.  
  179. server walk1  5 movementsound
  180. server walk1 11 movementsound
  181. client walk1  5 footstep
  182. client walk1 11 footstep
  183.  
  184. server run1   0 movementsound
  185. server run1   4 movementsound
  186. client run1   0 footstep
  187. client run1   4 footstep
  188.  
  189. // Pain Location Based Animations
  190. server pain_head             first painsound
  191. client pain_head             first randomsound snd_pain_head 1 2
  192. server pain_torso_upper      first painsound
  193. client pain_torso_upper      first randomsound snd_pain 1 2
  194. server pain_torso_lower      first painsound
  195. client pain_torso_lower      first randomsound snd_pain 1 2
  196. server pain_leg_right_upper  first painsound
  197. client pain_leg_right_upper  first randomsound snd_pain_leg 1 2
  198. server pain_leg_left_upper   first painsound
  199. client pain_leg_left_upper   first randomsound snd_pain_leg 1 2
  200. server pain_leg_right_lower  first painsound
  201. client pain_leg_right_lower  first randomsound snd_pain_leg 1 2
  202. server pain_leg_left_lower   first painsound
  203. client pain_leg_left_lower   first randomsound snd_pain_leg 1 2
  204. server pain_arm_right_upper  first painsound
  205. client pain_arm_right_upper  first randomsound snd_pain 1 2
  206. server pain_arm_left_upper   first painsound
  207. client pain_arm_left_upper   first randomsound snd_pain 1 2
  208. server pain_arm_right_lower  first painsound
  209. client pain_arm_right_lower  first randomsound snd_pain 1 2
  210. server pain_arm_left_lower   first painsound
  211. client pain_arm_left_lower   first randomsound snd_pain 1 2
  212.  
  213. // Death Location Based Animations
  214. server death1 first deathsound
  215. client death1 first randomsound snd_death 1 2
  216. client death1     4 randomsound snd_bodyfall 1 4
  217. server death2 first deathsound
  218. client death2 first randomsound snd_death 1 2
  219. client death2     5 randomsound snd_bodyfall 1 4
  220. server death3 first deathsound
  221. client death3 first randomsound snd_death 1 2
  222. client death3     1 randomsound snd_kneefall 1 4
  223. client death3     6 randomsound snd_partfall 1 4
  224.  
  225. //server death_head first deathsound
  226. //client death_head first randomsound snd_death 1 2
  227. //client death_head  6 randomsound snd_kneefall 1 4
  228. //client death_head  9 randomsound snd_partfall 1 4
  229. //server death_torso_upper first deathsound
  230. //client death_torso_upper first randomsound snd_death 1 2
  231. //client death_torso_upper  6 randomsound snd_kneefall 1 4
  232. //client death_torso_upper  9 randomsound snd_partfall 1 4
  233. //server death_torso_lower first deathsound
  234. //client death_torso_lower first randomsound snd_death 1 2
  235. //client death_torso_lower  7 randomsound snd_bodyfall 1 4
  236. //client death_torso_lower 14 randomsound snd_kneefall 1 4
  237. //client death_torso_lower 17 randomsound snd_kneefall 1 4
  238. //server death_arm_right_upper first deathsound
  239. //client death_arm_right_upper first randomsound snd_death 1 2
  240. //client death_arm_right_upper 3 randomsound snd_bodyfall 1 4
  241. //server death_arm_right_lower first deathsound
  242. //client death_arm_right_lower first randomsound snd_death 1 2
  243. //client death_arm_right_lower 3 randomsound snd_bodyfall 1 4
  244. //server death_arm_left_upper first deathsound
  245. //client death_arm_left_upper first randomsound snd_death_long 1 2
  246. //client death_arm_left_upper  4 randomsound snd_bodyfall 1 4
  247. //client death_arm_left_upper  7 randomsound snd_kneefall 1 4
  248. //client death_arm_left_upper 28 randomsound snd_bodyfall 1 4
  249. //server death_arm_left_lower first deathsound
  250. //client death_arm_left_lower first randomsound snd_death_long 1 2
  251. //client death_arm_left_lower  4 randomsound snd_bodyfall 1 4
  252. //client death_arm_left_lower  7 randomsound snd_kneefall 1 4
  253. //client death_arm_left_lower 28 randomsound snd_bodyfall 1 4
  254. //server death_leg_right_upper first deathsound
  255. //client death_leg_right_upper first randomsound snd_death 1 2
  256. //client death_leg_right_upper  7 randomsound snd_bodyfall 1 4
  257. //client death_leg_right_upper 14 randomsound snd_kneefall 1 4
  258. //client death_leg_right_upper 17 randomsound snd_kneefall 1 4
  259. //server death_leg_right_lower first deathsound
  260. //client death_leg_right_lower first randomsound snd_death 1 2
  261. //client death_leg_right_lower  7 randomsound snd_bodyfall 1 4
  262. //client death_leg_right_lower 14 randomsound snd_kneefall 1 4
  263. //client death_leg_right_lower 17 randomsound snd_kneefall 1 4
  264. //server death_leg_left_upper first deathsound
  265. //client death_leg_left_upper first randomsound snd_death 1 2
  266. //client death_leg_left_upper  7 randomsound snd_bodyfall 1 4
  267. //client death_leg_left_upper 14 randomsound snd_kneefall 1 4
  268. //client death_leg_left_upper 17 randomsound snd_kneefall 1 4
  269. //server death_leg_left_lower first deathsound
  270. //client death_leg_left_lower first randomsound snd_death 1 2
  271. //client death_leg_left_lower  7 randomsound snd_bodyfall 1 4
  272. //client death_leg_left_lower 14 randomsound snd_kneefall 1 4
  273. //client death_leg_left_lower 17 randomsound snd_kneefall 1 4
  274.  
  275. // Optional Animations
  276.  
  277. // -----------------------------------------------------------------------------
  278. // SOURCESAFE Update Log
  279. //
  280. // $Log:: /Quake 2 Engine/Sin/Base Sin Data/Models/Hero/hcofficer1.def        $
  281. // 
  282. // 40    9/22/98 12:20p Joeske
  283. // Removed run2 references, animation no longer exists.
  284. // 
  285. // 39    9/22/98 11:39a Joeske
  286. // Commented out the RunFire animation for now since we shouldn't use it.
  287. // 
  288. // 38    9/21/98 5:09p Beau
  289. // 
  290. // 37    9/20/98 6:23p Joeske
  291. // Reformatted file and verified animations.
  292. // 
  293. //
  294. // -----------------------------------------------------------------------------
  295.  
  296.  
  297.